home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
nihcl-30.lha
/
nihcl-3.0
/
ex
/
ex5-1.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-15
|
387b
|
19 lines
// ex5-1.c -- Writing to the standard output stream
// $Header: /afs/alw.nih.gov/unix/sun4_40c/usr/local/src/nihcl-3.0/share/ex/RCS/ex5-1.c,v 3.0 90/05/15 22:45:07 kgorlen Rel $
#include <iostream.h>
main()
{
float x = 1.2;
int i = 3;
char* prog = "myprogram";
cout << prog;
cout << ":";
cout << endl;
cout << "at step " << i << ", x = " << x << endl;
}